﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Mindfor.Web.Config
{
	/// <summary>
	/// Represents mail configuration section.
	/// </summary>
	public sealed class MailElement : ConfigurationElement
	{
		/// <summary>
		/// Gets or sets whether to enable SSL e-mail encription.
		/// </summary>
		[ConfigurationProperty("enableSsl", DefaultValue=false)]
		public bool EnableSsl
		{
			get { return (bool)this["enableSsl"]; }
			set { this["enableSsl"] = value; }
		}
	}
}
